//
//  DeviceCell.h
//  doubleEduStudents
//
//  Created by 盛洋 on 2021/1/8.
//  Copyright © 2021 shengYang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DeviceModel.h"

NS_ASSUME_NONNULL_BEGIN
@protocol deviceDelegate <NSObject>
@optional
-(void)delegateDevice:(UIButton *)sender;//删除当前设备
@end
@interface DeviceCell : UITableViewCell


@property (strong, nonatomic) IBOutlet UILabel *device_lab;

@property (strong, nonatomic) IBOutlet UILabel *current_lab;
@property (strong, nonatomic) IBOutlet UILabel *deviceNum_lab;
@property (strong, nonatomic) IBOutlet UIButton *deleate_btn;
@property (strong, nonatomic) IBOutlet UIImageView *back_img;
@property (nonatomic , weak) id<deviceDelegate>delegate;
@property (nonatomic, strong) DeviceModel *model;

@end

NS_ASSUME_NONNULL_END
